Autogenerated HTML docs for v1.5.3-rc0-30-g114f
diff --git a/config.txt b/config.txt index 1d96adf..66a55b0 100644 --- a/config.txt +++ b/config.txt
@@ -281,6 +281,10 @@ of files which are not meant to be tracked. See gitlink:gitignore[5]. +core.pager:: + The command that git will use to paginate output. Can be overridden + with the `GIT_PAGER` environment variable. + alias.*:: Command aliases for the gitlink:git[1] command wrapper - e.g. after defining "alias.last = cat-file commit HEAD", the invocation
diff --git a/git-config.html b/git-config.html index 671937a..eec0eef 100644 --- a/git-config.html +++ b/git-config.html
@@ -1012,6 +1012,15 @@ </p> </dd> <dt> +core.pager +</dt> +<dd> +<p> + The command that git will use to paginate output. Can be overridden + with the <tt>GIT_PAGER</tt> environment variable. +</p> +</dd> +<dt> alias.* </dt> <dd> @@ -1820,7 +1829,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 03-Jul-2007 07:03:40 UTC +Last updated 05-Jul-2007 05:51:15 UTC </div> </div> </body>
diff --git a/git-filter-branch.html b/git-filter-branch.html index f241d88..97f146b 100644 --- a/git-filter-branch.html +++ b/git-filter-branch.html
@@ -294,7 +294,7 @@ branch as your current branch. Nevertheless, this may be useful in the future for compensating for some git bugs or such, therefore such a usage is permitted.</p> -<p>WARNING! The rewritten history will have different object names for all +<p><strong>WARNING</strong>! The rewritten history will have different object names for all the objects and will not converge with the original branch. You will not be able to easily push and distribute the rewritten branch on top of the original branch. Please do not use this command if you do not know the @@ -311,11 +311,12 @@ Prior to that, the $GIT_COMMIT environment variable will be set to contain the id of the commit being rewritten. Also, GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL, GIT_AUTHOR_DATE, GIT_COMMITTER_NAME, GIT_COMMITTER_EMAIL, -and GIT_COMMITTER_DATE is set according to the current commit.</p> +and GIT_COMMITTER_DATE are set according to the current commit.</p> <p>A <em>map</em> function is available that takes an "original sha1 id" argument and outputs a "rewritten sha1 id" if the commit has been already -rewritten, fails otherwise; the <em>map</em> function can return several -ids on separate lines if your commit filter emitted multiple commits.</p> +rewritten, and "original sha1 id" otherwise; the <em>map</em> function can +return several ids on separate lines if your commit filter emitted +multiple commits.</p> </div> <h2>OPTIONS</h2> <div class="sectionbody"> @@ -342,7 +343,7 @@ directory set to the root of the checked out tree. The new tree is then used as-is (new files are auto-added, disappeared files are auto-removed - neither .gitignore files nor any other ignore - rules HAVE ANY EFFECT!). + rules <strong>HAVE ANY EFFECT</strong>!). </p> </dd> <dt> @@ -419,8 +420,9 @@ </dt> <dd> <p> - Only ever look at the history, which touches the given subdirectory. - The result will contain that directory as its project root. + Only look at the history which touches the given subdirectory. + The result will contain that directory (and only that) as its + project root. </p> </dd> <dt> @@ -464,11 +466,12 @@ </div></div> <p>Now, you will get the rewritten history saved in the branch <em>newbranch</em> (your current branch is left untouched).</p> -<p>To "etch-graft" a commit to the revision history (set a commit to be -the parent of the current initial commit and propagate that):</p> +<p>To set a commit (which typically is at the tip of another +history) to be the parent of the current initial commit, in +order to paste the other history behind the current history:</p> <div class="listingblock"> <div class="content"> -<pre><tt>git filter-branch --parent-filter sed\ 's/^$/-p <graft-id>/' newbranch</tt></pre> +<pre><tt>git filter-branch --parent-filter 'sed "s/^\$/-p <graft-id>/"' newbranch</tt></pre> </div></div> <p>(if the parent string is empty - therefore we are dealing with the initial commit - add graftcommit as a parent). Note that this assumes @@ -479,6 +482,12 @@ <pre><tt>git filter-branch --parent-filter \ 'cat; test $GIT_COMMIT = <commit-id> && echo "-p <graft-id>"' newbranch</tt></pre> </div></div> +<p>or even simpler:</p> +<div class="listingblock"> +<div class="content"> +<pre><tt>echo "$commit-id $graft-id" >> .git/info/grafts +git filter-branch newbranch $graft-id..</tt></pre> +</div></div> <p>To remove commits authored by "Darl McBribe" from the history:</p> <div class="listingblock"> <div class="content"> @@ -552,7 +561,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 04-Jul-2007 06:40:54 UTC +Last updated 05-Jul-2007 05:51:15 UTC </div> </div> </body>
diff --git a/git-filter-branch.txt b/git-filter-branch.txt index 2074f31..219a81d 100644 --- a/git-filter-branch.txt +++ b/git-filter-branch.txt
@@ -31,7 +31,7 @@ the future for compensating for some git bugs or such, therefore such a usage is permitted. -WARNING! The rewritten history will have different object names for all +*WARNING*! The rewritten history will have different object names for all the objects and will not converge with the original branch. You will not be able to easily push and distribute the rewritten branch on top of the original branch. Please do not use this command if you do not know the @@ -54,12 +54,13 @@ Prior to that, the $GIT_COMMIT environment variable will be set to contain the id of the commit being rewritten. Also, GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL, GIT_AUTHOR_DATE, GIT_COMMITTER_NAME, GIT_COMMITTER_EMAIL, -and GIT_COMMITTER_DATE is set according to the current commit. +and GIT_COMMITTER_DATE are set according to the current commit. A 'map' function is available that takes an "original sha1 id" argument and outputs a "rewritten sha1 id" if the commit has been already -rewritten, fails otherwise; the 'map' function can return several -ids on separate lines if your commit filter emitted multiple commits. +rewritten, and "original sha1 id" otherwise; the 'map' function can +return several ids on separate lines if your commit filter emitted +multiple commits. OPTIONS @@ -78,7 +79,7 @@ directory set to the root of the checked out tree. The new tree is then used as-is (new files are auto-added, disappeared files are auto-removed - neither .gitignore files nor any other ignore - rules HAVE ANY EFFECT!). + rules *HAVE ANY EFFECT*!). --index-filter <command>:: This is the filter for rewriting the index. It is similar to the @@ -128,8 +129,9 @@ definition impossible to preserve signatures at any rate.) --subdirectory-filter <directory>:: - Only ever look at the history, which touches the given subdirectory. - The result will contain that directory as its project root. + Only look at the history which touches the given subdirectory. + The result will contain that directory (and only that) as its + project root. -d <directory>:: Use this option to set the path to the temporary directory used for @@ -165,12 +167,13 @@ Now, you will get the rewritten history saved in the branch 'newbranch' (your current branch is left untouched). -To "etch-graft" a commit to the revision history (set a commit to be -the parent of the current initial commit and propagate that): +To set a commit (which typically is at the tip of another +history) to be the parent of the current initial commit, in +order to paste the other history behind the current history: ----------------------------------------------------------------------- -git filter-branch --parent-filter sed\ 's/^$/-p <graft-id>/' newbranch ----------------------------------------------------------------------- +------------------------------------------------------------------------ +git filter-branch --parent-filter 'sed "s/^\$/-p <graft-id>/"' newbranch +------------------------------------------------------------------------ (if the parent string is empty - therefore we are dealing with the initial commit - add graftcommit as a parent). Note that this assumes @@ -182,6 +185,13 @@ 'cat; test $GIT_COMMIT = <commit-id> && echo "-p <graft-id>"' newbranch ------------------------------------------------------------------------------- +or even simpler: + +----------------------------------------------- +echo "$commit-id $graft-id" >> .git/info/grafts +git filter-branch newbranch $graft-id.. +----------------------------------------------- + To remove commits authored by "Darl McBribe" from the history: ------------------------------------------------------------------------------
diff --git a/git-stash.html b/git-stash.html index 9ec4029..2e36538 100644 --- a/git-stash.html +++ b/git-stash.html
@@ -368,7 +368,7 @@ <div class="content"> <pre><tt> .----W / / -...--H----I</tt></pre> +-----H----I</tt></pre> </div></div> <p>where <tt>H</tt> is the <tt>HEAD</tt> commit, <tt>I</tt> is a commit that records the state of the index, and <tt>W</tt> is a commit that records the state of the working @@ -453,7 +453,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 03-Jul-2007 07:03:46 UTC +Last updated 05-Jul-2007 05:51:16 UTC </div> </div> </body>
diff --git a/git-stash.txt b/git-stash.txt index 35888b4..ad95ed9 100644 --- a/git-stash.txt +++ b/git-stash.txt
@@ -85,7 +85,7 @@ .----W / / - ...--H----I + -----H----I where `H` is the `HEAD` commit, `I` is a commit that records the state of the index, and `W` is a commit that records the state of the working